package com.cskaoyan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *
 */
@Controller
@RequestMapping("param")
public class ParamLimitController {

    //多个请求参数之间的关系是and
    @RequestMapping(value = "login",params = {"username","password"})
    @ResponseBody
    public String login() {
        return "param limit";
    }
}
